package edu.uoc.tdp.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author J2RS / Jordi Sanchez
 */
public class Space implements Serializable{

    private Integer spaceid;
    private String spacedescription;
    private Integer capacity;
    private Double price_hour;
    private Double price_day;
    private String url_map;
    private String how_to_get;
    private Integer postal_code;
    private String city;
    private String space_address;
    private Date creation_date;
    private String creation_user;
    private Date inactivation_date;
    private String inactivation_user;
    private Date record_date;
  
    public Space(Integer spaceid,String spacedescription,Integer capacity,Double price_hour,Double price_day,String url_map,String how_to_get,Integer postal_code,String city,String space_address, Date creation_date,String creation_user,Date inactivation_date,String inactivation_user,Date record_date){
        this.spaceid = spaceid;
        this.spacedescription = spacedescription;
        this.capacity = capacity;
        this.price_hour = price_hour;
        this.price_day = price_day;
        this.url_map = url_map;
        this.how_to_get = how_to_get;
        this.postal_code = postal_code;
        this.city = city;
        this.space_address = space_address;
        this.creation_date = creation_date;
        this.creation_user = creation_user;
        this.inactivation_user = inactivation_user;
        this.inactivation_date = inactivation_date;
        this.record_date = record_date;
    }

    public Integer getSpaceId() {
        return spaceid;
    }
    public void setSpaceId(Integer spaceid) {
        this.spaceid = spaceid;
    }
	
    public String getSpaceDescription() {
        return spacedescription;
    }
    public void setSpaceDescription(String spacedescription) {
        this.spacedescription = spacedescription;
    }

    public Integer getCapacity() {
        return capacity;
    }
    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }
	
    public Double getPriceHour() {
        return price_hour;
    }
    public void setPriceHour(Double price_hour) {
        this.price_hour = price_hour;
    }
	
    public Double getPriceDay() {
        return price_day;
    }
    public void setPriceDay(Double price_day) {
        this.price_day = price_day;
    }	
	
    public String getUrl_map() {
        return url_map;
    }
    public void setUrl_map(String url_map) {
        this.url_map = url_map;
    }	
    
    public String getHowToGet() {
        return how_to_get;
    }
    public void setHowToGet(String how_to_get) {
        this.how_to_get = how_to_get;
    }	  
    
    public Integer getPostalCode() {
        return postal_code;
    }
    public void setPostalCode(Integer postal_code) {
        this.postal_code = postal_code;
    }	

    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return space_address;
    }
    public void setAddress(String address) {
        this.space_address = space_address;
    }

    public Date getCreationDate() {
        return creation_date;
    }
    public void setCreationDate(Date creation_date) {
        this.creation_date = creation_date;
    }	
	
    public String getCreationUser() {
        return creation_user;
    }
    public void setCreationUser(String creation_user) {
        this.creation_user = creation_user;
    }
	
    public Date getInactivationDate() {
        return inactivation_date;
    }
    public void setInactivationDate(Date inactivation_date) {
        this.inactivation_date = inactivation_date;
    }	

    public String getInactivationUser() {
        return inactivation_user;
    }
    public void setInactivationUser(String inactivation_user) {
        this.inactivation_user = inactivation_user;
    }
	
    public Date getRecordDate() {
        return record_date;
    }
    public void setRecordDate(Date record_date) {
        this.record_date = record_date;
    }		

}
